package com.example.clxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Schedule {
    private String scheduleid;

    private String experimentid;

    private String semesterid;

    private Date startdate;

    private Date enddate;

    private String sectionnum;

    private String teacherid;

    private Integer maxnums;

    private Integer curnums;

    private String experimentroom;

    private String pversion;

    private String programid;

    private String flag;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatedTime;

    public Schedule(String scheduleid, String experimentid, String semesterid, Date startdate, Date enddate, String sectionnum, String teacherid, Integer maxnums, Integer curnums, String experimentroom, String pversion, String programid, String flag, Date createdTime, Date updatedTime) {
        this.scheduleid = scheduleid;
        this.experimentid = experimentid;
        this.semesterid = semesterid;
        this.startdate = startdate;
        this.enddate = enddate;
        this.sectionnum = sectionnum;
        this.teacherid = teacherid;
        this.maxnums = maxnums;
        this.curnums = curnums;
        this.experimentroom = experimentroom;
        this.pversion = pversion;
        this.programid = programid;
        this.flag = flag;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
    }

    public Schedule() {
        super();
    }

    public String getScheduleid() {
        return scheduleid;
    }

    public void setScheduleid(String scheduleid) {
        this.scheduleid = scheduleid == null ? null : scheduleid.trim();
    }

    public String getExperimentid() {
        return experimentid;
    }

    public void setExperimentid(String experimentid) {
        this.experimentid = experimentid == null ? null : experimentid.trim();
    }

    public String getSemesterid() {
        return semesterid;
    }

    public void setSemesterid(String semesterid) {
        this.semesterid = semesterid == null ? null : semesterid.trim();
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public String getSectionnum() {
        return sectionnum;
    }

    public void setSectionnum(String sectionnum) {
        this.sectionnum = sectionnum == null ? null : sectionnum.trim();
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid == null ? null : teacherid.trim();
    }

    public Integer getMaxnums() {
        return maxnums;
    }

    public void setMaxnums(Integer maxnums) {
        this.maxnums = maxnums;
    }

    public Integer getCurnums() {
        return curnums;
    }

    public void setCurnums(Integer curnums) {
        this.curnums = curnums;
    }

    public String getExperimentroom() {
        return experimentroom;
    }

    public void setExperimentroom(String experimentroom) {
        this.experimentroom = experimentroom == null ? null : experimentroom.trim();
    }

    public String getPversion() {
        return pversion;
    }

    public void setPversion(String pversion) {
        this.pversion = pversion == null ? null : pversion.trim();
    }

    public String getProgramid() {
        return programid;
    }

    public void setProgramid(String programid) {
        this.programid = programid == null ? null : programid.trim();
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag == null ? null : flag.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}